package com.web.base.open.model;

import com.blue.core.dict.State;
import com.blue.jdbc.annotation.Id;
import com.blue.jdbc.annotation.Table;

import java.util.Date;

/**
 * 开放平台帐号实体类
 * 
 * @author 代码由 blue-code 框架生成
 * @since 1.0 2017年02月27日
 */
@Table(name = "open_account")
public class Account
{
	@Id
	private Integer id; // 编号
	private String name; // 用户名
	private String secret; // 密钥
	private String descp; // 描述
	private Date createTime; // 创建时间
	private State state; // 状态：0正常，1作废
	
	public Account()
	{
	}
	
	public Integer getId()
	{
		return this.id;
	}
	
	public void setId(Integer id)
	{
		this.id = id;
	}
	
	public String getName()
	{
		return this.name;
	}
	
	public void setName(String name)
	{
		this.name = name;
	}
	
	public String getSecret()
	{
		return this.secret;
	}
	
	public void setSecret(String secret)
	{
		this.secret = secret;
	}
	
	public String getDescp()
	{
		return this.descp;
	}
	
	public void setDescp(String descp)
	{
		this.descp = descp;
	}
	
	public Date getCreateTime()
	{
		return this.createTime;
	}
	
	public void setCreateTime(Date createTime)
	{
		this.createTime = createTime;
	}
	
	public State getState()
	{
		return this.state;
	}
	
	public void setState(State state)
	{
		this.state = state;
	}
	
}
